<script>
    
    // 1.声明常量，不允许改变
    const MY_AGE = 1;
    a = 2 // Uncaught TypeError: Assignment to constant variable.

    // 2.声明常量，必须初始化
    const MY_NAME // Uncaught SyntaxError: Missing initializer in const declaration


</script>